home *** CD-ROM | disk | FTP | other *** search
/ Revista do CD-ROM 101 / CD-ROM 101.iso / compl / maya5ple / Install_MayaPLE5_English.exe / Maya / Data1.cab / shelf_General.mel < prev    next >
Encoding:
Text File  |  2003-07-17  |  4.6 KB  |  146 lines

  1. // Copyright (C) 1997-2002 Alias|Wavefront,
  2. // a division of Silicon Graphics Limited.
  3. //
  4. // The information in this file is provided for the exclusive use of the
  5. // licensees of Alias|Wavefront.  Such users have the right to use, modify,
  6. // and incorporate this code into other products for purposes authorized
  7. // by the Alias|Wavefront license agreement, without fee.
  8. //
  9. // ALIAS|WAVEFRONT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
  10. // INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
  11. // EVENT SHALL ALIAS|WAVEFRONT BE LIABLE FOR ANY SPECIAL, INDIRECT OR
  12. // CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
  13. // DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
  14. // TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  15. // PERFORMANCE OF THIS SOFTWARE.
  16. //
  17. //
  18. //  Alias|Wavefront Script File
  19. //  MODIFY THIS AT YOUR OWN RISK
  20. //
  21. //  Creation Date:  08 January 2002
  22. //
  23. //  Description:
  24. //      Define the General shelf.
  25. //
  26.  
  27. global proc shelf_General() {
  28.  
  29.        shelfButton
  30.            -label "Learning Movies"
  31.            -image1 "LearningMovies.xpm"
  32.            -command ("mayaLearningMoviesPage");
  33.  
  34.     shelfButton
  35.         -label "English Help"
  36.         -image1 "menuIconHelp.xpm"
  37.         -command ("checkHelpPrefs \"en_US\"");
  38.  
  39.     shelfButton
  40.         -label "Japanese Help"
  41.         -image1 "jpHelpIcon.xpm"
  42.         -command ("checkHelpPrefs \"ja_JP\"");
  43.  
  44.     shelfButton
  45.         -label      "Tumble Tool"
  46.         -annotation (getRunTimeCommandAnnotation("TumbleTool"))
  47.         -image1     "tumble.xpm"
  48.         -command    ("TumbleTool")
  49.         -doubleClickCommand ("ToolSettingsWindow");
  50.  
  51.     shelfButton
  52.         -label      "Track Tool" 
  53.         -annotation (getRunTimeCommandAnnotation("TrackTool"))
  54.         -image1     "track.xpm" 
  55.         -command    ("TrackTool")
  56.         -doubleClickCommand ("ToolSettingsWindow");
  57.  
  58.     shelfButton
  59.         -label      "Dolly Tool"
  60.         -annotation (getRunTimeCommandAnnotation("DollyTool"))
  61.         -image1     "dolly.xpm"
  62.         -command    ("DollyTool")
  63.         -doubleClickCommand ("ToolSettingsWindow");
  64.  
  65.     shelfButton
  66.         -label      "Zoom Tool"
  67.         -annotation (getRunTimeCommandAnnotation("ZoomTool"))
  68.         -image1     "boxZoom.xpm"
  69.         -command    ("ZoomTool")
  70.         -doubleClickCommand ("ToolSettingsWindow");
  71.  
  72.     shelfButton
  73.         -label      "Undo"
  74.         -annotation (getRunTimeCommandAnnotation("Undo"))
  75.         -image1     "undo.xpm"
  76.         -command    ("Undo");
  77.  
  78.     shelfButton
  79.         -label      "Redo"
  80.         -annotation (getRunTimeCommandAnnotation("Redo"))
  81.         -image1     "redo.xpm"
  82.         -command    ("Redo");
  83.  
  84.     shelfButton
  85.         -label      "Delete"
  86.         -annotation (getRunTimeCommandAnnotation("Delete"))
  87.         -image1     "deleteActive.xpm"
  88.         -command    ("Delete");
  89.  
  90.     shelfButton
  91.         -label      "Group"
  92.         -annotation (getRunTimeCommandAnnotation("Group"))
  93.         -image1     "group.xpm"
  94.         -command    ("Group")
  95.         -doubleClickCommand ("GroupOptions");
  96.  
  97.     shelfButton
  98.         -label      "Ungroup"
  99.         -annotation (getRunTimeCommandAnnotation("Ungroup"))
  100.         -image1     "ungroup.xpm"
  101.         -command    ("Ungroup")
  102.         -doubleClickCommand ("UngroupOptions");
  103.  
  104.     shelfButton
  105.         -label      "Parent"
  106.         -annotation (getRunTimeCommandAnnotation("Parent"))
  107.         -image1     "parent.xpm"
  108.         -command    ("Parent")
  109.         -doubleClickCommand ("ParentOptions");
  110.  
  111.     shelfButton
  112.         -label      "Unparent"
  113.         -annotation (getRunTimeCommandAnnotation("Unparent"))
  114.         -image1     "unparent.xpm"
  115.         -command    ("Unparent")
  116.         -doubleClickCommand ("UnparentOptions");
  117.  
  118.     shelfButton
  119.         -label      "Hypergraph"
  120.         -annotation (getRunTimeCommandAnnotation("HypergraphWindow"))
  121.         -image1     "hypergraph.xpm"
  122.         -command    ("HypergraphWindow");
  123.  
  124.     shelfButton
  125.         -label      "Select by Hierarchy"
  126.         -image1     "selectByHierarchy.xpm"
  127.         -command    ("changeSelectMode -hierarchical");
  128.  
  129.     shelfButton
  130.         -label      "Select by Object"
  131.         -image1     "selectByObject.xpm"
  132.         -command    ("changeSelectMode -object");
  133.  
  134.     shelfButton
  135.         -label      "Select by Component"
  136.         -image1     "selectByComponent.xpm"
  137.         -command    ("changeSelectMode -component");
  138.  
  139.     shelfButton
  140.         -label      "Paint Selection Tool"
  141.         -annotation (getRunTimeCommandAnnotation("ArtPaintSelectTool"))
  142.         -image1     "artSelect.xpm"
  143.         -command    ("ArtPaintSelectTool")
  144.         -doubleClickCommand ("ArtPaintSelectToolOptions");
  145.